Skip to content

docs: link card grids for next steps and further reading - #333

Merged
ChristopherPHolder merged 1 commit into
mainfrom
docs/link-cards
Nov 7, 2026
Merged

ChristopherPHolder merged 1 commit into
mainfrom
docs/link-cards

Conversation

@ChristopherPHolder

Copy link
Copy Markdown
Collaborator

Closes #317

Writing cards

<!-- cards -->

- [Quick start](/docs/getting-started/quick-start): Initialise a config and run your first flow in minutes.
- [Lighthouse viewer](https://googlechrome.github.io/lighthouse/viewer/): Renders a JSON report in the browser.
  • The title is the link text, and the rest of the item (after :, , or a dash) is the description. Links inside the description are flattened, because they'd otherwise nest inside the card's link.
  • Internal cards go through the router like any other in-page link, with an arrow that nudges right on hover.
  • External cards open in a new tab, show a ↗ arrow that nudges up and right, and name their host (github.com, npmjs.com, …).
  • The grid fills one to three columns depending on width. Hover gives the same lift and accent border as the landing page cards.
  • The link renderer and the cards share one linkTarget() helper for base-href resolution and target/rel.

Content

  • Introduction, "Where to go next": Installation, Quick start, Basic user flows.
  • Quick start, "Next steps": Basic user flows, init command, collect command, GitHub workflow.
  • Examples and links: Related projects and Lighthouse & Chrome DevTools.
Desktop, light Mobile, dark

Verification

  • Puppeteer: clicking an internal card navigates in the same document (no reload). External cards have target="_blank".
  • The interaction smoke test passes (21/21, desktop and mobile). Build and lint are clean, and there are no console errors.

A list preceded by <!-- cards --> whose items read
"[Title](href): description" renders as a grid of link cards in the
landing page's card style. Internal cards navigate in the app; external
ones open in a new tab and show their host and an outward arrow.

Used for "Where to go next" on the introduction, "Next steps" on the
quick start, and the related projects and further reading on the
examples page. Link rendering now shares one helper for in-app and
external targets.

Closes #317
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

❗❗❗ report generated by this PR ❗❗❗

☕ Order Coffee ☕

Date/Time: 2026-11-07 12:52

Step Name Gather Mode Performance Accessibility Best Practices Seo Agentic Browsing
🧭 Navigate to coffee cart navigation 87 93 100 83 50
☕ Select coffee timespan 17/17 - 8/8 - -
✔ Coffee selected snapshot Ø 1/1 16/18 4/4 3/5 1/3
🛒 Checkout order timespan 19/19 - 8/8 - -
🧾 Order checked out snapshot Ø 1/1 19/20 4/4 3/5 1/3
💌 Submit order timespan 18/18 - 8/8 - -
📧 Order submitted snapshot Ø 1/1 20/22 4/4 3/5 1/3
🧭 Navigate to github navigation 86 92 100 83 50

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

☕ Order Coffee ☕

Date/Time: 2026-11-07 12:52

Step Name Gather Mode Performance Accessibility Best Practices Seo Agentic Browsing
🧭 Navigate to coffee cart navigation 94 93 100 83 50
☕ Select coffee timespan 17/17 - 8/8 - -
✔ Coffee selected snapshot Ø 1/1 16/18 4/4 3/5 1/3
🛒 Checkout order timespan 19/19 - 8/8 - -
🧾 Order checked out snapshot Ø 1/1 19/20 4/4 3/5 1/3
💌 Submit order timespan 18/18 - 8/8 - -
📧 Order submitted snapshot Ø 1/1 20/22 4/4 3/5 1/3
🧭 Navigate to github navigation 95 92 100 83 50

@ChristopherPHolder
ChristopherPHolder merged commit 45f8e15 into main Nov 7, 2026
5 checks passed
@ChristopherPHolder
ChristopherPHolder deleted the docs/link-cards branch November 7, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: link card grids for next-step sections

1 participant